package com.persondemo.videoappliction.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * Created by Administrator on 2018/4/19.
 */

public class DuanziBean {
    /**
     * status : 1
     * msg : 获取成功!
     * data : [{"id":23,"content":"\n 如何以\u201c身上只剩最后1块钱了\u201d为开头写一个故事？最好别超过50个字\n ","uid":0,"support":80,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":["http://wimg.spriteapp.cn/ugc/2018/04/19/b442ca00439311e8a066842b2b4c75ab_1.jpg","http://wimg.spriteapp.cn/ugc/2018/04/19/b442ca00439311e8a066842b2b4c75ab_1.jpg","http://wimg.spriteapp.cn/ugc/2018/04/19/b442ca00439311e8a066842b2b4c75ab_1.jpg"],"shou":0,"ping":0,"video":"","fromid":27638114,"types":1,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":24,"content":"\n 乖孩子比坏孩子更需要教育！99%的父母都不明白其中的道理！\n ","uid":0,"support":159,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":null,"shou":0,"ping":0,"video":"http://mvideo.spriteapp.cn/video/2018/0415/a6ca2dfa40c311e8ac37842b2b4c75ab_wpc.mp4","fromid":27577492,"types":2,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":25,"content":"\n 跟老公去买衣服，看好一件大衣少350不卖，有点心疼钱没买就走了～","uid":0,"support":120,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":null,"shou":0,"ping":0,"video":"","fromid":27635048,"types":3,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":26,"content":"\n 这个求生欲如何\n ","uid":0,"support":248,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":["http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad61fab57ec2_1.jpg","http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad61fab57ec2_1.jpg","http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad61fab57ec2_1.jpg"],"shou":0,"ping":0,"video":"","fromid":27614777,"types":1,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":27,"content":"\n 手握春秋笔，画出人间情\u2026\u2026\n ","uid":0,"support":128,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":null,"shou":0,"ping":0,"video":"http://mvideo.spriteapp.cn/video/2018/0418/5ad7158085f07_wpc.mp4","fromid":27624291,"types":2,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":28,"content":"\n 做人我们一定要学会克制。。。\n ","uid":0,"support":120,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":["http://wimg.spriteapp.cn/ugc/2018/04/18/5ad6b401a4730_1.jpg","http://wimg.spriteapp.cn/ugc/2018/04/18/5ad6b401a4730_1.jpg","http://wimg.spriteapp.cn/ugc/2018/04/18/5ad6b401a4730_1.jpg"],"shou":0,"ping":0,"video":"","fromid":27618873,"types":1,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":29,"content":"\n 出门在外一定要注意保护好自己的财产！\n ","uid":0,"support":142,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":null,"shou":0,"ping":0,"video":"http://mvideo.spriteapp.cn/video/2018/0419/5ad7c73820d58_wpc.mp4","fromid":27632754,"types":2,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":30,"content":"\n 只都是现在人的常用名字，里面有你的么\n ","uid":0,"support":168,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":["http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad69d73399c0_1.jpg","http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad69d73399c0_1.jpg","http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad69d73399c0_1.jpg"],"shou":0,"ping":0,"video":"","fromid":27617657,"types":1,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":31,"content":"\n 俺老孙都混到吃泡面了，还会在乎这些？？？\n ","uid":0,"support":121,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":null,"shou":0,"ping":0,"video":"http://mvideo.spriteapp.cn/video/2018/0418/4bec044c42cd11e8bb74842b2b4c75ab_wpc.mp4","fromid":27621420,"types":2,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":32,"content":"\n 【18部高分中国历史纪录片】以史明志，让你更全面了解中国，历史迷必收藏！ \u200b\u200b\u200b\u200b\n ","uid":0,"support":169,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":["http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad693295f7e7_1.jpg","http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad693295f7e7_1.jpg","http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad693295f7e7_1.jpg"],"shou":0,"ping":0,"video":"","fromid":27617224,"types":1,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":33,"content":"\n 曾经你对我说：等我长发及腰，娶我可好？可是最近我发现，你一直隔三差五地去剪头发，到底是几个意思？\n ","uid":0,"support":180,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":null,"shou":0,"ping":0,"video":"","fromid":27616512,"types":3,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":34,"content":"\n 教你一眼辨别渣男，句句真理，遇到这样的老师简直是种幸福！\n ","uid":0,"support":182,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":null,"shou":0,"ping":0,"video":"http://mvideo.spriteapp.cn/video/2018/0418/889fc03c42ea11e8b876842b2b4c75ab_wpc.mp4","fromid":27623959,"types":2,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":35,"content":"\n 阿拉：我还是个孩子，为什么要这样对我\n ","uid":0,"support":139,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":null,"shou":0,"ping":0,"video":"http://mvideo.spriteapp.cn/video/2018/0417/5ad5d25baf44f_wpc.mp4","fromid":27608763,"types":2,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":36,"content":"\n 有一天，当男人也能怀孕......\n ","uid":0,"support":135,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":["http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad7211adb358_1.jpg","http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad7211adb358_1.jpg","http://wimg.spriteapp.cn/x/640x400/ugc/2018/04/18/5ad7211adb358_1.jpg"],"shou":0,"ping":0,"video":"","fromid":27625051,"types":1,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"},{"id":37,"content":"\n 速度与激情9》震撼来袭！\n ","uid":0,"support":156,"opposition":0,"status":1,"time":"2018-04-19 16:20","type":1,"imgs":null,"shou":0,"ping":0,"video":"http://mvideo.spriteapp.cn/video/2018/0418/9f6777c6430111e888a0842b2b4c75ab_wpc.mp4","fromid":27626398,"types":2,"avatar":"http://vip.axiaodao.com/public/touxiang.jpg","username":"无名氏"}]
     */

    private int status;
    private String msg;
    private List<DataBean> data;


    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements MultiItemEntity {
        /**
         * id : 23
         * content :
         * 如何以“身上只剩最后1块钱了”为开头写一个故事？最好别超过50个字
         * <p>
         * uid : 0
         * support : 80
         * opposition : 0
         * status : 1
         * time : 2018-04-19 16:20
         * type : 1
         * imgs : ["http://wimg.spriteapp.cn/ugc/2018/04/19/b442ca00439311e8a066842b2b4c75ab_1.jpg","http://wimg.spriteapp.cn/ugc/2018/04/19/b442ca00439311e8a066842b2b4c75ab_1.jpg","http://wimg.spriteapp.cn/ugc/2018/04/19/b442ca00439311e8a066842b2b4c75ab_1.jpg"]
         * shou : 0
         * ping : 0
         * video :
         * fromid : 27638114
         * types : 1
         * avatar : http://vip.axiaodao.com/public/touxiang.jpg
         * username : 无名氏
         */
        //有图
        public static final int types_01 = 1;
        //视频
        public static final int types_02 = 2;
        //纯文字
        public static final int types_03 = 3;
        public int itemType;
        private int id;
        private String content;
        private int uid;
        private int support;
        private int opposition;
        private int status;
        private String time;
        private int type;
        private int shou;
        private int ping;
        private String video;
        private int fromid;
        private int types;
        private String avatar;
        private String username;
        private List<String> imgs;
       private String video_img;

        public String getVideo_img() {
            return video_img == null ? "" : video_img;
        }

        public void setVideo_img(String video_img) {
            this.video_img = video_img;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getContent() {
            return content == null ? "" : content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public int getSupport() {
            return support;
        }

        public void setSupport(int support) {
            this.support = support;
        }

        public int getOpposition() {
            return opposition;
        }

        public void setOpposition(int opposition) {
            this.opposition = opposition;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getShou() {
            return shou;
        }

        public void setShou(int shou) {
            this.shou = shou;
        }

        public int getPing() {
            return ping;
        }

        public void setPing(int ping) {
            this.ping = ping;
        }

        public String getVideo() {
            return video;
        }

        public void setVideo(String video) {
            this.video = video;
        }

        public int getFromid() {
            return fromid;
        }

        public void setFromid(int fromid) {
            this.fromid = fromid;
        }

        public int getTypes() {
            return types;
        }

        public void setTypes(int types) {
            this.types = types;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public List<String> getImgs() {
            return imgs;
        }

        public void setImgs(List<String> imgs) {
            this.imgs = imgs;
        }

        @Override
        public int getItemType() {
            return itemType;
        }
    }
}
